from rest_framework import serializers
from .models import ImageModel


class ImageUploadSerializer(serializers.ModelSerializer):
    class Meta:
        model = ImageModel
        fields = ['image']


class CheckImageSerializer(serializers.Serializer):
    img_path = serializers.CharField(max_length=512)
